package com.cfs.ipc.test;

import com.cfs.ipc.RPC;



/**
 * upload file clinet
 * @see com.zzy.rpc.nio.test2.UploadFile copyLocalFile(String srcPath, String destPath)
 * @author eason
 *
 */
public class MainClient {
	public static void main(String[] args) {
		UploadFile uploadFile = RPC.getProxy(UploadFile.class, "192.168.10.130", 9111);
//		if(uploadFile.copyLocalFile("F:\\test\\test.bmp", "/home/eason/")){
//			System.out.println("upload success!");
//		}
		if(uploadFile.mkdir("F:\\sa")){
			System.out.println("MKDIR SUCCESS");
		}else{
			System.out.println("MKDIR FAIL");
		}
	}
}
